package org.dromara.netbar.domain.bo;

import org.dromara.netbar.domain.NetbarSeatType;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

/**
 * 座位类型管理业务对象 netbar_seat_type
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NetbarSeatType.class, reverseConvertGenerate = false)
public class NetbarSeatTypeBo extends BaseEntity {
    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long seatTypeId;
    /**
     * 座位类型名称
     */
    @NotBlank(message = "座位类型名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String seatTypeName;

    /**
     * 基础费率
     */
    @NotNull(message = "基础费率不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long baseRate;

    /**
     * 座位代号
     */
    @NotBlank(message = "座位代号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String seatCode;


}
